/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package action.administration;

import java.util.Date;

/**
 *
 * @author Thai Ha Cong
 */
public class BidItem {
    private Date date;
    private String keyword;
    private int qualityScore;
    private double cpc;         //cost per click
    private int impressions;
    private int clicks;
    private double ctr;         //click through rate
    private double avgCpc;      //average cost per click
    private double cost;
    private double avgPosition;
    private double notConvet;

    public BidItem() {
    }
    
   public BidItem(Date date, String keyword, int qualityScore, double cpc, int impressions, int clicks, double ctr, double avgCpc, double cost, double avgPosition) {
        this.date = date;
        this.keyword = keyword;
        this.qualityScore = qualityScore;
        this.cpc = cpc;
        this.impressions = impressions;
        this.clicks = clicks;
        this.ctr = ctr;
        this.avgCpc = avgCpc;
        this.cost = cost;
        this.avgPosition = avgPosition;
    }

    public BidItem(Double notConvert,Date date, String keyword, int qualityScore, double cpc, int impressions, int clicks, double ctr, double avgCpc, double cost, double avgPosition) {
        this.notConvet = notConvert;
        this.date = date;
        this.keyword = keyword;
        this.qualityScore = qualityScore;
        this.cpc = cpc;
        this.impressions = impressions;
        this.clicks = clicks;
        this.ctr = ctr;
        this.avgCpc = avgCpc;
        this.cost = cost;
        this.avgPosition = avgPosition;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public int getQualityScore() {
        return qualityScore;
    }

    public void setQualityScore(int qualityScore) {
        this.qualityScore = qualityScore;
    }

    public double getCpc() {
        return cpc;
    }

    public void setCpc(double cpc) {
        this.cpc = cpc;
    }

    public int getImpressions() {
        return impressions;
    }

    public void setImpressions(int impressions) {
        this.impressions = impressions;
    }

    public int getClicks() {
        return clicks;
    }

    public void setClicks(int clicks) {
        this.clicks = clicks;
    }

    public double getCtr() {
        return ctr;
    }

    public void setCtr(double ctr) {
        this.ctr = ctr;
    }

    public double getAvgCpc() {
        return avgCpc;
    }

    public void setAvgCpc(double avgCpc) {
        this.avgCpc = avgCpc;
    }

    public double getCost() {
        return cost;
    }

    public void setCost(double cost) {
        this.cost = cost;
    }

    public double getAvgPosition() {
        return avgPosition;
    }

    public void setAvgPosition(double avgPosition) {
        this.avgPosition = avgPosition;
    }

    @Override
    public String toString() {
        return "BidItem{" + "date=" + date + ", keyword=" + keyword + ", qualityScore=" + qualityScore + ", cpc=" + cpc + ", impressions=" + impressions + ", clicks=" + clicks + ", ctr=" + ctr + ", avgCpc=" + avgCpc + ", cost=" + cost + ", avgPosition=" + avgPosition + '}';
    }

    /**
     * @return the notConvet
     */
    public double getNotConvet() {
        return notConvet;
    }

    /**
     * @param notConvet the notConvet to set
     */
    public void setNotConvet(double notConvet) {
        this.notConvet = notConvet;
    }
}
